import Vue from "vue"
import Router from "vue-router"
import HelloWorld from "@/components/HelloWorld"
import HelloWorld1 from "@/components/HelloWorld1"
import HelloWorld2 from "@/components/HelloWorld2"

Vue.use(Router)

export default new Router({
    routes:[
        {
            path:"/",
            name:"HelloWorld",
            component:HelloWorld
        },{
            path:"/new",
            name:"HelloWorld1",
            component:HelloWorld1
        },{
            path:"/author",
            name:"HelloWorld2",
            component:HelloWorld2
        }
    ]
})